home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
dos
/
qpeg15e
/
install.dat
/
DRVSRC
/
ATI2.ASM
< prev
next >
Wrap
Assembly Source File
|
1994-08-03
|
934b
|
50 lines
;
; QPEG video driver
; for ATI chipsets
;
; Note: If this driver doesn't work, try ATI1.DRV or ATI3.DRV instead.
;
.286
Code Segment Para 'Code'
Assume cs:Code
Org 100h
Procs dw Bank,Init,Exit,0
Bank: shl al,1
push ax
mov dx,cs:ExtReg
mov al,0b2h
out dx,al
inc dx
in al,dx
pop dx
and al,0e1h
or al,dl
mov dx,cs:ExtReg
inc dx
out dx,al
retf
ExtReg dw ?
Init: mov ax,0c000h
mov es,ax
mov dx,es:[0010h]
mov cs:ExtReg,dx
mov al,0beh
out dx,al
inc dx
in al,dx
and al,11110111b
out dx,al
retf
Exit: retf
Code Ends
End Procs
; End of source.